//
//  GLESData.h
//  DrawTexturePolygon
//
//  Created by 畑圭輔 on 10/03/10.
//  Copyright 2010 Keisuke Hata. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/EAGLDrawable.h>
#import <OpenGLES/ES1/gl.h>

typedef struct 
{
	float x;
	float y;
	
}Vector2F; // 8byte

typedef struct
{
	float red;
	float green;
	float blue;
	float alpha;
	
}Color4F; // 16byte

typedef struct
{
	GLfloat x;
	GLfloat y;
	GLfloat z;
	
}GLVector3D;

static inline GLVector3D GLVector3DMake( GLfloat x, GLfloat y,GLfloat z )
{
	GLVector3D v;
	v.x = x; v.y = y; v.z = z;
	return v;
}
